package com.qian.service.ddj.dao;

import com.qian.service.ddj.entity.DdjBusinessGroup;
import com.yaowk.service.common.BaseRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface BusinessGroupRepository extends BaseRepository<DdjBusinessGroup, Integer> {
        @Query(value = "select * from ddj_business_group where id=?1",nativeQuery = true)
        public List<DdjBusinessGroup> QueryBusinessGroupById(Integer id);

}
